package com.swust.exam.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.swust.exam.pojo.Students;

public interface StudentsMapper {
    int deleteByPrimaryKey(Integer studentId);

    int insert(Students record);

    int insertSelective(Students record);

    Students selectByPrimaryKey(Integer studentId);

    int updateByPrimaryKeySelective(Students record);

    int updateByPrimaryKey(Students record);

    List<Students> studentslist();
    
    List<Students> GetDetailStudentInfo();
    
    public Students login(@Param("studentNumber")String studentNumber,@Param("studentPassword")String studentPassword);
     
    int password_update(@Param("studentPassword")String studentPassword,@Param("studentNumber")String studentNumber);
}